﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DTO;
using BUS;

namespace Cafe_htc
{
    public partial class ThemMon : Form
    {
        public ThemMon()
        {
            InitializeComponent();
        }
        
        DanhSachMonDTO mon = new DanhSachMonDTO();

        public DanhSachMonDTO LayThongTin()
        {
            return mon;
        }

        private void btnChapNhan_Click(object sender, EventArgs e)
        {
            mon.SoLuong = int.Parse(nudSoLuong.Value.ToString());
            mon.GhiChu = tbxGhiChu.Text.Trim();

            this.Close();
        }
    }
}
